#ifndef ELEVATORIPXML_H
#define ELEVATORIPXML_H

#include <QObject>
#include "BaseXml.h"
#include "DataType/PortStruct.h"
#include "DataType/ElevatorStruct.h"
class ElevatorIPXml : public BaseXml<ElevatorIPXml>
{
public:
    friend class BaseXml<ElevatorIPXml>;

    bool parser();
    bool clear();
    QList<ElevatorStruct> StructList() const;
    void setStructList(const QList<ElevatorStruct> &structList);
    void setDoorZone(QString zone);
        QString getDoorZone();
    void setUnitZone(QString zone);
         QString getUnitZone();
        void setBrand(QString brand);
        QString getBrand();

        QString getMantissa();
        QString getRoomDir();
         QString getF1Dir();
        QString getFB1Dir();
        QString getFB2Dir();
        QString getFB3Dir();
        QString getM01Dir();
        QString getM02Dir();
        QString getM03Dir();
        QString getM04Dir();


private:
    ElevatorIPXml();
    QList<ElevatorStruct>m_StructList;
     QString m_doorZone;
      QString m_brand;
     QString m_unitZone;
     QString m_mantissa;
     QString m_roomDir;
     QString m_f1Dir;
     QString m_fB1Dir;
     QString m_fB2Dir;
     QString m_fB3Dir;
     QString m_M01Dir;
     QString m_M02Dir;
     QString m_M03Dir;
     QString m_M04Dir;



     };



     #endif // ELEVATORIPXML_H
